package com.mulanweb.handler;

import com.jfinal.handler.Handler;
import com.mulanweb.http.MulanHttpServletRequest;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * Created by hcy on 2016/4/11.
 */
public class MulanHttpServletRequestHandler extends Handler {

    @Override
    public void handle(String target, HttpServletRequest request, HttpServletResponse response, boolean[] isHandled) {
        MulanHttpServletRequest mReq = new MulanHttpServletRequest(request, true);
        super.next.handle(target, mReq, response, isHandled);

    }

}
